package com.smart.translate.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName SmartTranslateConfig
 * @Description TODO
 * @Author YY
 * @create: 2025−08-21 11:02
 */
@Configuration
@ConfigurationProperties(prefix = "smart.translate")
@Data
public class SmartTranslateConfig {

    /**
     * 是否自定义字段
     * false：系统默认
     * true：自定义字段
     */
    @Value("${enable:true}")
    private Boolean isCustomize;

}
